package ycl.common.properties;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 发邮件参数
 *
 * @author YCL
 * @date 2021-10-19 16:58:26
 */
@Data
@Component
@ConfigurationProperties(prefix = "email")
public class EmailProperties {

	@Schema(description = "邮箱")
	private String username;

	@Schema(description = "授权码")
	private String password;
}
